package beans;

import java.util.Date;

/**
 * @author roze
 *
 */
public class Recherche {

	private String keyWord;
	private Date date;	
	
	
	
	/**
	 * @param keyWord
	 * @param date
	 */
	public Recherche(String keyWord, Date date) {
		super();
		this.keyWord = keyWord;
		this.date = date;
	}
	
	

	public Recherche() {
		super();
	}



	/**
	 * @return le mot-clef
	 */
	public String getKeyWord() {
		return keyWord;
	}
	
	/**
	 * @param keyWord
	 */
	public void setKeyWord(String keyWord) {
		this.keyWord = keyWord;
	}
	
	/**
	 * @return la date de la recherche
	 */
	public Date getDate() {
		return date;
	}
	
	/**
	 * @param date
	 */
	public void setDate(Date date) {
		this.date = date;
	}
	
	
	@Override
	public String toString() {
		return "Recherche [keyWord=" + keyWord + ", date=" + date + "]";
	}	
	

}
